Web Development lesson plan
Class: 9th to 12th - Lesson: Web Development - Introduction to arrays and index

Purpose: Students learn how to store multiple values using arrays and how to process these values using loops.

No. of Classes

It will take 3 classes. Students strength 1 or more.

Material Required
  1. Internet Connection
  2. Google Chrome
  3. Mail ID
  4. Code.org(Website)
  5. Online JavaScript Compiler
Curriculum Content

24. Introduction to arrays and index

Prior knowledge

Students should know about conditional statements.


Exercise

Exercise:1



  1. Students work with arrays.

    Please use the following link to learn about arrays Arrays in js and Array methods


  2. Exercise:2



  3. Students understand how effectively they will use index values.

  4. Exercise:3



  5. Students explore loops and work with loops.

    Please use this link to know about Array iterations


  6. Exercise:4



  7. Create a student list webpage using arrays - Store student names in an array. Display the student list on a webpage. Use an array of objects to store multiple details for each student. Iterate through arrays using loops.

Solutions:1





Teacher Instruction
  1. Why do programmers use loops when working with student lists?
  2. Can you think of other things that can be stored as an array of objects?
  3. How do websites store details of many users?